package com.alkaid.commons.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author Kylin
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_novel")
public class Novel {
    @TableId
    private Integer id;
    private String name;
    private String cover;
    private String info;
    private Float score;
    private Long count;
    private Integer hot;
    private Integer tag;
    private Integer allNum;
    private Float refreshNum;
    private Long collectNum;
    private Date startTime;
    private Integer status;
    @TableField(exist = false)
    private List<String> author;
    @TableField(exist = false)
    private List<NovelDetails> novelDetails;
}
